# -*- coding: utf-8 -*-
import uuid
from core import consts
from core.http import http_client

# consts.ROOT_URL = "http://127.0.0.1:8801/app-wechat"
consts.ROOT_URL = "https://app.weizhizs.com/app-wechat"

def test_one():
    api = "/indexApi/checkTokenExpire"
    url = consts.ROOT_URL + api
    token = uuid.uuid1().__str__()

    return http_client.post(url=url, data=None, token=token)


def test():
    test_one()


if __name__ == "__main__":
    test()
